package com.chhuang.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * @TableName ch_role_menu_map
 * @ClassName ChRoleMenuMap
 * @Description ch_role_menu_map普通JavaBean类(ChRoleMenuMapBean)
 * @Author Darren Huang
 * @Date 2023-01-06 22:49:39
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ChRoleMenuMapBean实体类", description = "用于展示或者接收参数")
public class ChRoleMenuMapBean implements Serializable {
    private static final long serialVersionUID = -44546446829120412L;

    /**
     * 角色菜单映射编号
     */
    @ApiModelProperty(value = "角色菜单映射编号")
    private String roleMenuMapId;

    /**
     * 角色编号
     */
    @ApiModelProperty(value = "角色编号")
    private String roleId;

    /**
     * 菜单编号
     */
    @ApiModelProperty(value = "菜单编号")
    private String menuId;

    /**
     * 菜单序号
     */
    @ApiModelProperty(value = "菜单序号")
    private Integer menuOrder;

    /**
     * 角色序号
     */
    @ApiModelProperty(value = "角色序号")
    private Integer roleOrder;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTime;
    @ApiModelProperty(value = "修改时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeStart;
    @ApiModelProperty(value = "修改时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyTimeEnd;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "创建时间开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeStart;
    @ApiModelProperty(value = "创建时间结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeEnd;

}
